package com.dxy.yesas2020goals.study.partone.disignpattern.adapterpattern.electonic.clazzmode.objectmode;

/**
 * @author victorydeng
 * @Classname Test
 * @Description TODO
 * @Date 2020/3/20 20:16
 * @Created by victorydeng
 */
public class Test {

  public static void main(String[] args) {

    DC5V adpter = new PowerAdapter(new AC220V());
    int target = adpter.out5V();
    System.out.println("====输出电压==" + target);

  }

}
